/* -------------------------布局容器------------------------- */
.bny-layout {
    position: fixed;
    height: 100%;
    width: 100%;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

/* 容器头部 */
.bny-layout .bny-layout-header {
    height: 60px;
    position: absolute;
    width: calc(100% - 220px);
    top: 0;
    left: 0;
    margin-left: 220px;
    z-index: 999;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--primary);
    transition: var(--transition);
}

.bny-layout .bny-layout-header .bny-layout-header-left,
.bny-layout .bny-layout-header .bny-layout-header-right {
    display: flex;
    padding: 0 10px;
    height: 100%;
}

.bny-layout .bny-layout-header .bny-layout-header-item {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.bny-layout .bny-layout-header .bny-layout-header-item a {
    padding: 0 15px;
    font-size: var(--font-size);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-large);
    text-decoration: none;
}

.bny-layout .bny-layout-header .bny-layout-header-item:hover a {
    background-color: var(--primary-10);
    color: var(--white);
}

/* 容器侧边栏 */
.bny-layout-side .bny-logo img {
    display: none;
}

.bny-layout .bny-layout-side {
    position: absolute;
    width: 220px;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000;
    /* overflow: hidden auto; */
    border-right: 2px solid var(--primary);
    background-color: var(--white);
    transition: var(--transition);
}

.bny-layout .bny-layout-side .bny-nav {
    box-shadow: none;
}

/* 容器主体 */
.bny-layout .bny-layout-body {
    position: absolute;
    width: calc(100% - 220px);
    top: 55.99px;
    left: 220px;
    height: calc(100% - 60px);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}

.bny-layout .bny-layout-body .bny-tab {
    width: 100%;
    height: 100%;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-title {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding-right: 64px;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-setwin .icon-zuohua {
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-setwin .icon-youhua {
    border-radius: 0;
    border-right: 0;
    margin-right: 33px;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-more {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    height: 40px;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-more span {
    font-size: var(--font-size-20);
    padding: 0 5px;
    cursor: pointer;
    background-color: var(--white);
    line-height: 38px;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    float: right;
    margin-top: 2px;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-body {
    height: 100%;
    overflow: hidden auto;
    padding: 0;
}

.bny-layout .bny-layout-body .bny-tab .bny-tab-body>div {
    width: 100%;
    height: 100%;
    overflow: hidden auto;
}

/* 左侧菜单伸缩 */
.mini-menu .bny-layout-side {
    width: 72px;
    /* overflow: hidden; */
    position: relative;
}

.mini-menu .bny-layout-side .bny-nav {
    align-items: flex-start;
}

.mini-menu .bny-layout-side .bny-nav-menu {
    width: 220px;
}

.mini-menu .bny-layout-header {
    width: calc(100% - 72px);
    margin-left: 72px;
}

.mini-menu .bny-layout-body {
    width: calc(100% - 72px);
    left: 72px;
}

.mini-menu .bny-logo img {
    display: block;
}

.mini-menu .bny-logo span {
    display: none;
}

@media screen and (max-width: 768px) {
    .bny-layout .bny-layout-side {
        left: -220px;
        transition: left .3s;
    }

    .bny-layout .bny-layout-header {
        margin-left: 0;
        width: 100%;
    }

    .bny-layout .bny-layout-body {
        width: 100%;
        left: 0;
    }

    /* 移动端展开侧边栏的class */
    .bny-layout-side .active {
        left: 0;
    }
}

/* -------------------------布局容器END------------------------- */

.bny-nav-lateral {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
}

.bny-card {
    margin: 10px;
}